#define _CRT_SECURE_NO_WARNINGS 1
#include "sort.h"
int main()
{
	int arr[] = { 6,6,6,3,3,2,2,8,8,9,9,9,-3,-3,-1,-1 };
	int n = sizeof(arr) / sizeof(arr[0]);
	//CourtSort(arr, n);
	//MergeSort(arr, n);
	QuickSort(arr, 0, n - 1);

	for (int i = 0; i < n; i++)
	{
		printf("%d ", arr[i]);
	}

	return 0;
}